<?php

require_once("../php/common.php");
require_once("PHPUnit/Framework.php");
require_once("PHPUnit/TextUI/TestRunner.php");
require_once("../php/tests/" . $_GET["test"] . ".php");

$oSuite = call_user_func(array(basename($_GET["test"]), "suite"));

//_debug(array_uintersect(array(1, 5), array(5, 1), "Value_List::compare"));

print("<pre>");
PHPUnit_TextUI_TestRunner::run($oSuite);
print("</pre>");

?>